<template>   
        <TableFieldList  ref="TableFieldListRef" v-model="tableName" :dataSource="dataSource"/>    
</template>

<script> 
import TableFieldList from './TableFieldList.vue'; 
export default {
  name:'TableStruct',
  components:{
    TableFieldList
  }, 
  computed:{ 
  },
  watch:{
    $route(to){ 
      this.dataSource=to.params.dataSource
      this.tableName=to.params.tableName
    }
  },
  data() {
    return {
      tableName:'',
      dataSource:'',
     
    }
  },
  methods: { 
    onTableSelect(tableInfo){ 
      
    }
  },
  mounted() { 
    this.dataSource=this.$route.params.dataSource
    this.tableName=this.$route.params.tableName 
  }
}

</script>

<style scoped>
</style>
